package com.zsy.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.zsy.bean.Bis_Business_Order;
import com.zsy.mapper.Bis_Business_OrderMapper;

@Service
@Transactional
public class Bis_Business_OrderServiceImpl implements Bis_Business_OrderService {
	
	@Autowired
	private Bis_Business_OrderMapper bis_Business_OrderMapper;

	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public List<Bis_Business_Order> listAll(Map map) {
		return bis_Business_OrderMapper.listAll(map);
	}

	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public Bis_Business_Order getById(String order_id) {
		return bis_Business_OrderMapper.getById(order_id);
	}

	@Override
	@Transactional(propagation=Propagation.REQUIRED)
	public void save(Bis_Business_Order bis_Business_Order) {
		bis_Business_OrderMapper.save(bis_Business_Order);
	}

	@Override
	@Transactional(propagation=Propagation.REQUIRED)
	public void update(Bis_Business_Order bis_Business_Order) {
       bis_Business_OrderMapper.update(bis_Business_Order);	
	}

	

}
